package com.cq.xjms.util;

public class PointUtil {
	
	public static double change2Point(double point){
		double avgPoint = 0;
		int one = (int)point/10;
		int ten = (int)point%10;
		double type ;
		if(one == 6){
			type = 1.0;
		}else if(one == 7){
			type = 2.0;
		}else if(one == 8){
			type = 3.0;
		}else if(one == 9){
			type = 4.0;
		}else if(one == 10){
			type = 5.0;
		}else{
			type = 0.0;
			return 0;
		}
		avgPoint = type + 0.1*ten;
		return avgPoint;
	}
	
}
